﻿using System.ComponentModel.DataAnnotations;

namespace Admin.NET.Application;

    /// <summary>
    /// 用户基础输入参数
    /// </summary>
    public class car_appuserBaseInput
    {
        /// <summary>
        /// 小程序openid
        /// </summary>
        public virtual string? miniOpenid { get; set; }
        
        /// <summary>
        /// 手机号
        /// </summary>
        public virtual long? phoneNo { get; set; }
        
    }

    /// <summary>
    /// 用户分页查询输入参数
    /// </summary>
    public class car_appuserInput : BasePageInput
    {
        /// <summary>
        /// 小程序openid
        /// </summary>
        public string? miniOpenid { get; set; }
        
        /// <summary>
        /// 手机号
        /// </summary>
        public long? phoneNo { get; set; }
        
    }

    /// <summary>
    /// 用户增加输入参数
    /// </summary>
    public class Addcar_appuserInput : car_appuserBaseInput
    {
    }

    /// <summary>
    /// 用户删除输入参数
    /// </summary>
    public class Deletecar_appuserInput : BaseIdInput
    {
    }

    /// <summary>
    /// 用户更新输入参数
    /// </summary>
    public class Updatecar_appuserInput : car_appuserBaseInput
    {
        /// <summary>
        /// Id
        /// </summary>
        [Required(ErrorMessage = "Id不能为空")]
        public long Id { get; set; }
        
    }

    /// <summary>
    /// 用户主键查询输入参数
    /// </summary>
    public class QueryByIdcar_appuserInput : Deletecar_appuserInput
    {

    }
